package com.pay.handler;

import com.pay.bean.QuickPayTradeContext;
import com.pay.common.exception.ServiceException;

import java.util.Map;

public interface FilingCustomerHandler {
	/**
	 * 商户备案
	 * @param tradeContext 交易上下文
	 * @throws ServiceException 业务异常
	 */
	Map<String, String> customerFiling(QuickPayTradeContext tradeContext) throws ServiceException;

	/**
	 * 商户查询
	 * @param tradeContext 交易上下文
	 * @throws ServiceException 业务异常
	 */
	Map<String, String> queryCustomer(QuickPayTradeContext tradeContext) throws ServiceException;

	/**
	 * 商户修改
	 * @param tradeContext 交易上下文
	 * @throws ServiceException 业务异常
	 */
	Map<String, String> modifyCustomer(QuickPayTradeContext tradeContext) throws ServiceException;

}
